package com.yqg.protection.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yqg.protection.entity.RecordCheck;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 查岗记录 Mapper 接口
 * </p>
 *
 * @author 小宇
 * @since 2024-09-13
 */
@Mapper
public interface RecordCheckMapper extends BaseMapper<RecordCheck> {

    List<RecordCheck> findPage(Integer pageNum, Integer pageSize, String keyWord, Long userId, Integer level, Long organizationId);

    Long findPageCount(String keyWord, Long userId, Integer level, Long organizationId);

    List<RecordCheck> exportData(String keyWord, Long userId, Integer level, Long organizationId);
}
